<template>
  <div id="app">
    <!-- <el-button>按钮</el-button> -->
    <!-- <el-row class="box">
      <el-col :span="8">
        <div class="bg-yellow"></div>
      </el-col>
      <el-col :span="8">
        <div class="bg-red"></div>
      </el-col>
      <el-col :span="8">
        <div class="bg-yellow"></div>
      </el-col>
    </el-row> -->


    <el-row :gutter="20">
      <!-- Row 组件 提供 gutter 属性来指定每一栏之间的间隔，默认间隔为 0。 -->
      <el-col :span="6">
        <div class="bg-yellow">
        </div>
      </el-col>
      <el-col :span="6">
        <div class="bg-red">
        </div>
      </el-col>
      <el-col :span="6">
        <div class="bg-yellow">
        </div>
      </el-col>
      <el-col :span="6">
        <div class="bg-red">
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    HelloWorld
  }
}
</script>
<style>
*{
  margin: 0;
  padding: 0;
}
</style>
<style lang="less" scoped>
.box{
  width: 100vw;
  height: 100vh;
}
.bg-yellow{
  background: #409EFF;
  height: 100vh;
}
.bg-red{
  background: #DCDFE6;
  height: 100vh;
}
</style>